#ifndef _TELEPHONEBOOK_H_
#define _TELEPHONEBOOK_H_
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include "MyString.h"

struct _telephone_info
{
    _my_str name;
    _my_str num;
};
typedef struct _telephone_info _t_info;

struct _telephone_book
{
    _t_info info[Size];
    int size;
};
typedef struct _telephone_book _t_book;

void _init_telephone_book(_t_book *book);
void _insert_telephone_book(_t_book *book);
void _search_telephone_book(_t_book *book);
void _delete_telephone_book(_t_book *book);
void _update_telephone_book(_t_book *book, const char *old_phone_number);

#endif